package com.woniu.service;

import com.woniu.entity.PageResult;
import com.woniu.pojo.Gym;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.vo.GymQueryImgVo;
import com.woniu.vo.GymQueryVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dong
 * @since 2022-10-12
 */
public interface IGymService extends IService<Gym> {

    PageResult search(Integer currentPage, Integer pageSize, GymQueryVo gymQueryVo);

    List<Gym> queryGymAll();

    List<Gym> queryByName(String name);

    List<GymQueryImgVo> queryByImg(String id);
}
